#include "Animation.h"


Animation::Animation(int _FrameStart, int _FrameEnd, float _Time)
{
	m_FrameStart = _FrameStart;
	m_FrameEnd = _FrameEnd;

	m_Time = _Time;
	m_FrameCurrent = _FrameStart;
}

void Animation::Next()
{
	m_FrameCurrent++;

	if (m_FrameCurrent > m_FrameEnd)
	{
		m_FrameCurrent = m_FrameStart;
	}
}

void Animation::UpdateAnimation(int &x, int &y)
{
}

Animation::~Animation()
{
}
